import defineReactive from './Reactive.js'

export default class MyVue {
  constructor(config) {
    for (let key in config.data) {
      // 添加属性，并设置get/set
      this[key] = config.data[key]
      defineReactive(this, key)
    }
  }
}